#include "WeichatWrapper.h"


CWeichatWrapper::CWeichatWrapper(int iProtocolVer, const char*pszTarget, const char* pszAppID, const char*pszAppKey, const char*pszToken, const char* pszDeviceID, const char*pszWeichatVer)
{
	//pScanRspCallback = nullptr;
	//pGetContactCallback = nullptr;
	//pWeichatSyncCallback = nullptr;
	//pQrcodeCallback = nullptr;
	pCallbackParam = nullptr;
	pWeichatInstance = new WeichatProtoClient(iProtocolVer,pszTarget, pszAppID, pszAppKey, pszToken, pszDeviceID, pszWeichatVer);
	//pWeichatInstance->SetWechatNotify(std::shared_ptr<CWeichatNotifyWrapper>(new CWeichatNotifyWrapper), this);

}

CWeichatWrapper::~CWeichatWrapper()
{
	delete pWeichatInstance;
}
